<extend name="Index:base"/>
<block name="content">
		<!--content-->
		<div id="content">
			<div class="w1064">
				<div class="loginOuter">
					<header>
						<span>注册</span>
					</header>
					<div class="loginMain">
					<form action="{:U('Home/Index/register')}&do=add" method="post">
						<ul>
							<li>
								<span class="label">用 户 名:</span>
								<p>
									<input type="text" class="_txt" placeholder="请输入中/英文" name="username"/>
								</p>
							</li>
							<li>
								<span class="label">手机号码:</span>
								<p>
									<input type="text" class="_txt" placeholder="请输入常用手机号码" name="phonenum"/>
								</p>
							</li>
							<li>
								<span class="label">短信验证:</span>
								<p>
									<input type="text" class="_txt1" placeholder="输入手机验证码" />
								</p>
								<a href="#" class="sendCodeBtn">免费获取验证短信</a>
							</li>
							<li>
								<span class="label">设置密码:</span>
								<p>
									<input type="text" class="_txt" placeholder="请设置帐号密码" name="accountpassword"/>
								</p>
							</li>
							<li>
								<span class="label">确认密码:</span>
								<p>
									<input type="text" class="_txt" placeholder="请确认帐号密码" name="confirmpassword"/>
								</p>
							</li>
							<li>
								<span class="label">图片验证:</span>
								<p>
									<input type="text" class="_txt" placeholder="请输入右图验证码" style="width:130px" name="verify"/>
									
								</p>
								<a href="#" class="codeImg">
									<img src="{:U('Home/Index/verify_c',array())}" />
									<script type="text/javascript">
									var captcha_img = $('.codeImg').find('img')  
									var verifyimg = captcha_img.attr("src");  
									captcha_img.attr('title', '点击刷新');  
									captcha_img.click(function(){  
									    if( verifyimg.indexOf('?')>0){  
									        $(this).attr("src", verifyimg+'&random='+Math.random());  
									    }else{  
									        $(this).attr("src", verifyimg.replace(/\?.*$/,'')+'?'+Math.random());  
									    }  
									});  
									</script>
								</a>
							</li>
							<li class="remember_pas">
								<label>
									<input type="checkbox" /> 我已阅读并同意 <a href="#">《用户注册服务协议》</a>
								</label>
							</li>
							<li>
								<input type="submit" class="login_btn" value="注册并登录" />
							</li>
							<li>
								<p class="msg">我已有帐号,去<a href="{:U('Home/Index/weblogin')}">登录</a></p>
							</li>
						</ul>
						</form>
					</div>
				</div>
			</div>
		</div>
		<!--content end-->
</block>